package com.yuehuanghun.admin.core.domain;

import javax.persistence.Entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonFormat.Shape;

import lombok.Data;

/**
 * 角色和部门关联 sys_role_dept
 * 
 * @author yadmin
 */
@Data
@Entity
public class SysRoleDept {
	/** 角色ID */
	@JsonFormat(shape = Shape.STRING)
	private Long roleId;

	/** 部门ID */
	@JsonFormat(shape = Shape.STRING)
	private Long deptId;

}
